package me.algo;

/**
 * @author guozheng
 * @date 2024/3/23
 */
public class Main2 {
    public static void main(String[] args) {
        int i = climbStairs(4);
        System.out.println(i);
        System.out.println(456-(456>>5<<5));
        System.out.println(456-(456/32*32));
        System.out.println(456%32);
        System.out.println(456/32*32);
        System.out.println(2*2*2*2*2);
    }


    public static int climbStairs(int n) {
        int a = 0,b = 0,c = 1;
        for (int i = 1;i <=n;i++) {
            a = b;
            b = c;
            c = a+b;
        }
        return c;
    }

}
